IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[DeleteLogServicioByIdInsumo]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[DeleteLogServicioByIdInsumo]
GO

CREATE PROCEDURE [dbo].[DeleteLogServicioByIdInsumo]
(
	@IdInsumo smallint
)
AS
BEGIN
	SET NOCOUNT ON

	DELETE FROM [LogServicio]
	WHERE [IdInsumo] = @IdInsumo

	SET NOCOUNT OFF
END

GO
